package com.boguan.system.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * protocol 协议信息
 *
 * @author chen
 */
public class Protocol implements Serializable {
    /**
     * 协议id 主键
     */
    private Long id;

    /**
     * 协议类型  1，用户协议：2隐私协议
     */
    private Integer type;

    /**
     * 协议内容
     */
    private String content;

    /**
     * 协议更新时间
     */
    private Date updatetime;

    /**
     * 更新人id
     */
    private Long updateUser;

    /**
     * 更新人用户名
     */
    private String updateUsername;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人id
     */
    private Long createUser;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content == null ? "" : content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUsername() {
        return updateUsername == null ? "" : updateUsername;
    }

    public void setUpdateUsername(String updateUsername) {
        this.updateUsername = updateUsername;
    }

}